#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>

int main()
{
    int count = 0;
    while(1)
    {
        printf("i am signal process count : [%d]\n", count);
        count++;
        while(count == 5000)
        {
            //kill(getpid(), 9);
            //abort();
            alarm(3);
        }
        usleep(1000);
    }
    return 0;
}
